import pymysql

from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()

pymysql.install_as_MySQLdb()

class Config:
    DEBUG = False
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:jisuanji2022@121.196.166.117/house'
    SQLALCHEMY_TRACK_MODIFICATIONS = True